package com.karson.common.response;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
public class UserResponse {

    @Schema(name = "用户id")
    private Integer uid;

    @Schema(name = "用户账号")
    @JsonIgnore
    private String account;

    @Schema(name = "用户密码")
    @JsonIgnore
    private String pwd;

    @Schema(name = "真实姓名")
    private String realName;

    @Schema(name = "生日")
    private String birthday;

    @Schema(name = "身份证号码")
    private String cardId;

    @Schema(name = "用户备注")
    private String mark;

    @Schema(name = "标签名称")
    private String tagName;

    @Schema(name = "标签Ids")
    private String tagId;

    @Schema(name = "用户昵称")
    private String nickname;

    @Schema(name = "用户头像")
    private String avatar;

    @Schema(name = "手机号码")
    private String phone;

    @Schema(name = "添加ip")
    private String addIp;

    @Schema(name = "最后一次登录ip")
    private String lastIp;

    @Schema(name = "1为正常，0为禁止")
    private Boolean status;

    @Schema(name = "用户登陆类型，h5,wechat,routine")
    private String loginType;

    @Schema(name = "更新时间")
    private Date updatedAt;

    @Schema(name = "创建时间")
    private Date createdAt;

    @Schema(name = "最后一次登录时间")
    private Date lastLoginTime;

    @Schema(name = "清除时间")
    private Date cleanTime;
}